package com.itheima.pinda.feign;

import com.itheima.pinda.DTO.entity.PdAuthUser;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(value = "pd-auth")
public interface PdFleetFeign {
    @PostMapping("/queryById")
    public PdAuthUser queryById(@RequestParam String id);
}
